{foreach name="goods" item="v"}
	<tr>
		<td class="hidden-xs" align="center">
			<label class="pos-rel">
				<input name='n_id[]' id="navid" class="ace"  type='checkbox' value='{$v.id}'>
				<span class="lbl"></span>
			</label>
		</td>
 
		<td class="hidden-xs" align="center">{$v.sn}</td>
		<td><a href="{:url('admin/Goods/goods_list_edit',array('id'=>$v['id']))}" title="{$v.goods_title}">{$v.goods_title|subtext=25}</a></td>
		<td >{$v.my_address}</td>
        <td class="hidden-sm hidden-xs">{$v.number}</td>
        <td class="hidden-sm hidden-xs">{$v.fee}</td>
        <td class="hidden-sm hidden-xs">{$v.total_fee}</td>
	 
		<td class="hidden-xs  center">
        
        <div class="inline position-relative">
					<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown" data-position="auto">
						<i class="ace-icon fa fa-cog icon-only bigger-110 al-name">{$v.state_pay_name}</i>
					</button>
					<ul class="dropdown-menu dropdown-only-icon dropdown-yellow dropdown-menu-right dropdown-caret dropdown-close">
                    
                    {foreach name="state_pay_list" item="spay" key="spkey"}
                        <li>
							<a href="javascript:;" class="tooltip-success al-click" data-rel="tooltip" title="" data-original-title="{$spay}" al-url="{:url('admin/Goods/order_list_state')}" al-data= "{'field':'state_pay','id':'{$v['id']}','va':'{$spkey}','name':'{$spay}'}">
							 <span class="{if condition="$v['state_pay'] eq $spkey"} red {else/}gray{/if}">{$spay}</span>
							</a>
						</li>
                    {/foreach}

					</ul>
				</div>
         
		</td>
        
        <td class="hidden-xs  center">
        
         <div class="inline position-relative">
					<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown" data-position="auto">
						<i class="ace-icon fa fa-cog icon-only bigger-110 al-name">{$v.state_trade_name}</i>
					</button>
					<ul class="dropdown-menu dropdown-only-icon dropdown-yellow dropdown-menu-right dropdown-caret dropdown-close">
                    {foreach name="state_trade_list" item="stpay" key="stkey"}
					   <li>
							<a href="javascript:;" class="tooltip-success al-click" data-rel="tooltip" title="" data-original-title="{$stpay}"  al-url="{:url('admin/Goods/order_list_state')}" al-data= "{'field':'state_trade','id':'{$v['id']}','va':'{$stkey}','name':'{$stpay}'}">
							 <span class="{if condition="$v['state_trade'] eq $stkey"} red {else/}gray{/if}">{$stpay}</span>
							</a>
						</li>  
                    {/foreach}
                    
                     
					</ul>
				</div>
        
		</td>
        
        
		<td class="hidden-xs  center">{$v.add_time|date='Y-m-d H:i:s',###}</td>
		<td>
			<div class="hidden-sm hidden-xs action-buttons">
				<a class="green" href="{:url('admin/Goods/order_list_edit',array('id'=>$v['id']))}" data-toggle="tooltip" title="修改">
					<i class="ace-icon fa fa-pencil bigger-130"></i>
				</a>
				<a class="red confirm-rst-url-btn" data-info="你确定要删除到回收站吗？" href="{:url('admin/Goods/order_list_del',array('id'=>$v['id'],'p'=>input('p',1)))}" title="回收站" data-toggle="tooltip">
					<i class="ace-icon fa fa-trash-o bigger-130"></i>
				</a>
			</div>
			<div class="hidden-md hidden-lg">
				<div class="inline position-relative">
					<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown" data-position="auto">
						<i class="ace-icon fa fa-cog icon-only bigger-110"></i>
					</button>
					<ul class="dropdown-menu dropdown-only-icon dropdown-yellow dropdown-menu-right dropdown-caret dropdown-close">
						<li>
							<a href="{:url('admin/Goods/order_list_del',array('id'=>$v['id']))}" class="tooltip-success" data-rel="tooltip" title="" data-original-title="修改">
											<span class="green">
												<i class="ace-icon fa fa-pencil-square-o bigger-120"></i>
											</span>
							</a>
						</li>

						<li>
							<a href="{:url('admin/Goods/order_list_del',array('id'=>$v['id'],'p'=>input('p',1)))}" data-info="你确定要删除该订单吗？" class="tooltip-error confirm-rst-url-btn" data-rel="tooltip" title="删除订单" data-original-title="删除订单">
											<span class="red">
												<i class="ace-icon fa fa-trash-o bigger-120"></i>
											</span>
							</a>
						</li>
					</ul>
				</div>
			</div>
		</td>
	</tr>
{/foreach}
<tr>
	<td align="left" class="hidden-xs center"><button id="btnsubmit" class="btn btn-white btn-yellow btn-sm hidden-xs">删</button> </td>
	<td colspan="6" align="left"class="hidden-lg hidden-md hidden-sm">{$page}</td>
	 
	<td colspan="12" align="right" class="hidden-xs">{$page}</td>
</tr>
